


ifeq (greatbelt, $(filter greatbelt, $(chipname)))
include $(SDK_DIR)/mk/sys_km.mk

CORE_GB_SRCS += $(shell find $(SDK_DIR)/core/greatbelt/src/ -name "*.c")
CORE_GB_OBJS := $(patsubst %.c,%.o,$(CORE_GB_SRCS))
CORE_GB_OBJS := $(subst $(SDK_DIR)/core/greatbelt/,,$(CORE_GB_OBJS))
CORE_GB_OBJS := $(sort $(CORE_GB_OBJS))

lib-m += $(CORE_GB_OBJS)
endif

